import axios from '../http/axios.js';

export default {
    //----------------获取班主任信息-------------------
    getDirectors(params){
        console.log(params)
        return axios({
            url:'/directors/getDirectors',
            method:'GET',
            params
        })
    },
    //---------------新增班主任------------------------
    addDirectors(data){
        return axios({
            url:'/directors/addDirectors',
            method:'POST',
            data
        })
    },
}





